package com.hanamaki.oop.demo03;

import java.util.Scanner;

public class Application {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入Java成绩:");
        Double Java = scanner.nextDouble();
        System.out.println("请输入C#成绩:");
        Double C = scanner.nextDouble();
        System.out.println("请输入DB成绩:");
        Double DB = scanner.nextDouble();
        ScoreCalc scoreCalc = new ScoreCalc(Java, C, DB);
        System.out.println(scoreCalc.toString());
    }
}
